package org.example.springbookdamo.model;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class Bookinfo {
    private Integer BookId;
    private String name; //书名
    private String author;  //作者
    private  Integer num; //数量
    private BigDecimal price;//价格
    private String publish; //出版社
    private Integer status;  //状态
    private String statusCN;

    public Integer getBookId() {
        return BookId;
    }

    public String getName() {
        return name;
    }

    public String getAuthor() {
        return author;
    }

    public Integer getNum() {
        return num;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public String getPublish() {
        return publish;
    }

    public Integer getStatus() {
        return status;
    }

    public String getStatusCN() {
        return statusCN;
    }

    public void setBookId(Integer bookId) {
        BookId = bookId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setStatusCN(String statusCN) {
        this.statusCN = statusCN;
    }
}
